package com.gtq.uhome.mapper;

import com.gtq.uhome.pojo.StaffRole;
import com.gtq.uhome.vo.Operator;
import com.gtq.uhome.vo.AddSiteMemberVo;
import org.apache.ibatis.annotations.Param;
public interface StaffRoleMapper {

    /**
     * 添加关联表信息
     * @param operator
     * @return
     */
    Integer insertStaffRole(Operator operator);

    /**
     * 操作员页面，修改角色信息
     * @param object
     * @return
     */
    Integer upDateRole(Object object);
    boolean addSiteMember(@Param("param") AddSiteMemberVo siteMemberVo);

    StaffRole selectByStaffId(@Param("id") Integer staffId);

    boolean deleteStaffRole(@Param("id")Integer staffId);
}